﻿using System;
using System.Collections.Generic;

namespace LibraryManagementSystem.Models;

/// <summary>
/// 图书分类表
/// </summary>
public partial class Category
{
    /// <summary>
    /// 分类ID，主键，自增
    /// </summary>
    public int Id { get; set; }

    /// <summary>
    /// 分类名称
    /// </summary>
    public string Name { get; set; } = null!;

    public virtual ICollection<Libraryitem> Libraryitems { get; set; } = new List<Libraryitem>();
}
